package com.onemile.entity;

import java.security.PublicKey;

/**
 * 其中带_S后缀的均为需要分页的接口
 * 
 * @author lichen
 * 
 */
public final class UrlParams
{
   public static final String PostURL = "http://116.247.104.72:60000/MobileApi.aspx";

   // 用户====================================================================
   public static final class Login
   {
	  public static final String APICode = "MC0001";
	  public static final String UserName = "UserName";
	  public static final String Password = "Password";
   }

   public static final class Register
   {
	  public static final String APICode = "MC0002";
	  public static final String UserName = "UserName";
	  public static final String Password = "Password";
	  public static final String Mobile = "Mobile";
	  public static final String Email = "Email";
   }

   public static final class InsertNewFavorite
   {
	  public static final String APICode = "MC0003";
	  public static final String UserId = "UserId";
	  public static final String ShopsId = "ShopsId";
   }
   public static final class GetFavoritesListByUserId_S
   {
	  public static final String APICode = "MC0004";
	  public static final String UserId = "UserId";
	  public static final String ShopType = "ShopsType";
	  public static final String SortType = "SortType";
	  public static final String SortField = "SortField";
   }
   public static final class CancelFavorite
   {
	  public static final String APICode = "MC0005";
	  public static final String UserCollectionId = "UserCollectionId";
   }
   public static final class GetFavoritesListByUserId_SL
   {
	  public static final String APICode = "MC0006";
	  public static final String UserId = "UserId";
	  public static final String Latitude = "Latitude";
	  public static final String Longitude = "Longitude";
   }

   // 商家====================================================================
   public static final class GetShopListByShopType_SL
   {
	  public static final String APICode = "MC0105";
	  public static final String ShopType = "ShopType";
	  public static final String SortType = "SortType";
	  public static final String SortField = "SortField";
	  public static final String Latitude = "Latitude";
	  public static final String Longitude = "Longitude";
   }

   // public static final class GetShopListByShopType_S
   // {
   // public static final String APICode = "MC0101";
   // public static final String ShopType = "ShopType";
   // public static final String SortType = "SortType";
   // public static final String SortField = "SortField";
   // public static final String Latitude="Latitude";
   // public static final String Longitude="Longitude";
   // }

   public static final class GetShopDetailByShopId
   {
	  public static final String APICode = "MC0102";
	  public static final String ShopsId = "ShopsId";
   }

   public static final class GetShopBigImgByShopId
   {
	  public static final String APICode = "MC0103";
	  public static final String ShopsId = "ShopsId";
   }

   // public static final class SearchShopListByShopName_S
   // {
   // public static final String APICode = "MC0104";
   // public static final String ShopsName = "ShopsName";
   // public static final String ShopType="ShopType";
   // public static final String SortType = "SortType";
   // public static final String SortField = "SortField";
   // }
   public static final class SearchShopListByShopName_SL
   {
	  public static final String APICode = "MC0106";
	  public static final String ShopsName = "ShopsName";
	  public static final String ShopType = "ShopType";
	  public static final String SortType = "SortType";
	  public static final String SortField = "SortField";
	  public static final String Latitude = "Latitude";
	  public static final String Longitude = "Longitude";
   }

   // 商品==================================================================
   public static final class GetCommodityListByShopId_S
   {
	  public static final String APICode = "MC0201";
	  public static final String ShopsId = "ShopsId";
	  public static final String SortType = "SortType";
	  public static final String SortField = "SortField";
   }

   public static final class GetSmallCommodityImageByCommodityId
   {
	  public static final String APICode = "MC0202";
	  public static final String CommodityId = "CommodityId";
	  public static final String UseGZip = "UseGZip";
   }

   public static final class GetBigCommodityImageByCommodityId
   {
	  public static final String APICode = "MC0203";
	  public static final String CommodityId = "CommodityId";
	  public static final String UseGZip = "UseGZip";
   }

   public static final class GetCommodityDetails
   {
	  public static final String APICode = "MC0204";
	  public static final String CommodityId = "CommodityId";

   }

   public static final class GetCommodityInfo
   {
	  public static final String APICode = "MC0205";
	  public static final String CommodityId = "CommodityId";

   }

   // 订单======================================================================
   public static final class OrderSettle
   {
	  public static final String APICode = "MC0300";
   }
   public static final class GetOrderListByUserId_S
   {
	  public static final String APICode = "MC0301";
	  public static final String UserId = "UserId";
	  public static final String ShopType = "ShopsType";
	  public static final String OrderType = "OrderType";
   }
   public static final class AddNewOrderAgain
   {
	  public static final String APICode="MC0302";
	  public static final String OrderId="OrderId";
   }
   
   // 优惠，抵用券===============================================================
   public static final class GetPromotions
   {
	  public static final String APICode = "MC0400";
	  public static final String ShopsId = "ShopsId";
	  public static final String CommodityIds="CommodityIds";
	  public static final String CommodityId="CommodityId";
   }

   public static final class GetCoupons
   {
	  public static final String APICode = "MC0402";
	  public static final String UserId = "UserId";
	  public static final String ShopsId = "ShopsId";
	  public static final String CommodityId="CommodityId";
	  public static final String CommodityIds="CommodityIds";
   }
   
   public static final class GetCouponByUserId_S
   {
	  public static final String APICode = "MC0401";
	  public static final String UserId = "UserId";
   }
   

   // 地址=======================================================================
   public static final class GetAddressListByUserId
   {
	  public static final String APICode = "MC0330";
	  public static final String UserId = "UserId";
   }


   public static final class InsertNewAddress
   {
	  public static final String APICode = "MC0331";
	  public static final String AddressName="AddressName";
	  public static final String UserId = "UserId";	
	  public static final String Address = "Address";
	  public static final String Mobile = "Mobile";
	  public static final String Consignee = "Consignee";
	  public static final String Rec_CreateBy="Rec_CreateBy";
	  public static final String Rec_ModifyBy="Rec_ModifyBy";

   }

   public static final class UpdateAddress
   {
	  public static final String APICode = "MC0332";
	  public static final String UserAddressId = "UserAddressId";
	  public static final String AddressName = "AddressName";
	  public static final String UserId = "UserId";	
	  public static final String Address = "Address";
	  public static final String Mobile = "Mobile";
	  public static final String Consignee = "Consignee";
	  public static final String Rec_ModifyBy = "Rec_ModifyBy";
   }
   
   public static final class DelAddress
   {
	  public static final String APICode = "MC0333";
	  public static final String UserAddressId = "UserAddressId";
   }
}
